using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Weblications.Sango.Constant;

namespace Pixysoft.Weblications.Sango.Battle
{
    class StrategyHpHandler : IStrategyHandler
    {
        public bool accept(long strategyTypeCode)
        {
            return CtiStrategyTypecodeCollection.STRATEGY_01_HP == strategyTypeCode;
        }


        public void adjustBattler(Entities.Usr_Strategy strategy, Battler battler)
        {
            battler.TotalHpPointValue = (battler.TotalHpPointValue + (long)strategy.Strategyvalue);
        }

    }
}